routes = [
  {
    path: '/',
    url: './index.html',
    on: {
      pageBeforeIn:function (e,page) {
        // console.log("index-pageBeforeIn")
        // window.isLocation = true;
        $$('#map-ImageUrl').attr('src', window.mapUrl);
      },
      pageInit: function(e, page) {
        // window.isLocation = true;
        // console.log("index-pageInit")
      },
    }
  },
  {
    name:"map",
    path: '/baiduMap/',
    componentUrl: './pages/baidu/baiduMap.html',
  },
  {
    path: '/baiduSearch/',
    componentUrl: './pages/baidu/baiduSearch.html',
  },
];
